package com.espeaker.sdk;

/**
 * SDK内部网络异常
 * @author jimmy
 */
public class NetException extends Exception {

    private int statusCode = -1;

    public NetException(int statusCode, String msg) {
        super(msg);
        this.statusCode = statusCode;
    }

    public NetException(Exception cause) {
        super(cause);
    }

    public int getStatusCode() {
        return statusCode;
    }
}
